<?PHP
class tagForm extends tagControl
{
	function tagForm($attrs = array())
	{
		parent::tagControl($attrs);
	}
	function Render($writer)
	{
		$writer->Write("<form");
		if ( isset($this->attributes['id']) )
			$writer->Write(" id=\"".$this->attributes['id']."\"");
		if ( isset($this->attributes['name']) )
			$writer->Write(" name=\"".$this->attributes['name']."\"");
		if ( isset($this->attributes['action']) )
			$writer->Write(" action=\"".$this->attributes['action']."\"");
		if ( isset($this->attributes['action']) )
			$writer->Write(" method=\"".$this->attributes['method']."\"");
			
		if ( isset($this->attributes['onsubmit']) )
		{
			$writer->Write(" onsubmit=\"".$this->attributes['onsubmit']."\"");
		}
		if ( isset($this->attributes['onreset']) )
		{
			$writer->Write(" onreset=\"".$this->attributes['onreset']."\"");
		}
		$writer->Write(">\n");
		$this->RenderChildren($writer);
		$writer->Write("</form>\n");
	}
}
?>
